package com.huawei.xme.ch02.t14.teacher.task01opt;

/**
 * @author 黄后林
 * @date 2022-10-26 16:42:18
 * @note 程序员是用代码喂出来的
 */
public class Data {

    // '1'
    private char ch;

    // 3
    private int  counter;

    public char getCh() {
        return ch;
    }

    public void setCh(char ch) {
        this.ch = ch;
    }

    public int getCounter() {
        return counter;
    }

    public void setCounter(int counter) {
        this.counter = counter;
    }

    @Override
    public String toString() {
        return "Data{" +
                "ch=" + ch +
                ", counter=" + counter +
                '}';
    }
}
